package client;

public class ProcessingMeasurement extends Measurement {

	final public String query;
	final public boolean success;
	final public String host;
	
	public ProcessingMeasurement(int _clientID, long _start_time, long _stop_time, String _host, String _query, boolean _success)
	{
		super(_clientID, _start_time, _stop_time);
		query = _query;
		success = _success;
		host = _host;
	}
	
	public String toString() {
		return "PROCESSING: " + clientID + "," + host + "," + query + "," + start_time + "," + stop_time + "," + (success? "success" : "fail");
	}

}
